/**
 * @Title: monitorIntegrity_service.js
 * @Description: TODO
 * Copyright: Copyright (c) 2014
 * Company:中国平安
 *
 * @Project HIMS-FWA
 * @date 2014年12月01日 下午4:43:38
 * @version V1.0
 */
;
(function(){
    'use strict';

    var app = angular.module('fwa.services');
    app.service('MonitorIntegrityService',['$http','BaseURL', function($http, baseUrl){

        var serv = this;


        /**
         * 根据条件获取数据
         */
        serv.query = function(params){
            return $http({
                method: "get",
                url:baseUrl+'monitorIntegrity/queryMonitorIntegrity.do',
                params:params
            });
        };
        
        /**
         * 获取重点监控数据
         */
        serv.queryKeyMonitoring = function(){
            return $http({
                method: "get",
                url:baseUrl + 'monitorIntegrity/queryKeyMonitoring.do'
            });
        };
        
        /**
         * 获取重点监控地图数据
         */
        serv.queryMonitorIntegrityMap = function(params){
            return $http({
                method: "get",
                url: baseUrl + 'monitorIntegrity/queryMonitorIntegrityMap.do',
                params:params
            });
        };

    }]);

})();